// 主模块
import Vue from 'vue'
import Vuex from 'vuex'

import user from './modules/user'
import header from './modules/header'
import todos from './modules/todos'
import apple from './modules/apple'

Vue.use(Vuex)


export default ()=> new Vuex.Store({
  modules: {
    user,
    header,
    todos,
    apple,
  }
})
